﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AttendanceHistory.aspx.cs" Inherits="Basic4Net.OAWeb.Module_Attendance.AttendanceHistory" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../App_Themes/ui-lightness/main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="../Scripts/common.js"></script>
    <script type="text/javascript" src="../Scripts/Util.js"></script>
    
    <script language="javascript" type="text/javascript">
        function Search() {
            document.getElementById("btnBind").click();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:HiddenField ID="hdf_SumID" runat="server" Value="" />
        
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
        </asp:ScriptManager>
        <div class="mainWarp">
            <div class="pageBody">

            <table style="width: 100%;" >
            <tr>
                <td colspan="6" style="height:40px">
                </td>
            </tr>
            <tr>

                 <td style="text-align:left;width:200px">
                    年份：<asp:DropDownList ID="ddl_Year" runat="server">
                     </asp:DropDownList>
                    月份：<asp:DropDownList ID="ddl_Month" runat="server">
                    </asp:DropDownList>
                </td>
                <td style="text-align:left;width:200px">
                职务：<asp:DropDownList ID="ddl_FType" runat="server">
                    </asp:DropDownList>
                </td>
                <td style="text-align:left;width:100px">
                    <input id="btn_Search" type="button" onclick="Search()" class="commonBut" value="搜索" />
                </td>
                <td></td>
                <td ></td>
                <td style="width:50%;"></td>
            </tr>
            <tr>
                <td colspan="6" style="height:20px">
                </td>
            </tr>
            <tr>
                <td colspan="6" align="center">
                    
                
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                               <asp:Repeater ID="rpt_TeacherType" runat="server" >
                                <HeaderTemplate>
                                <table id="settingTable" style="width:100%" class="useList1" border="0" cellpadding="0" cellspacing="1">
                                    <tr  class="tableTitle">
                                        <th>
                                            职务分类
                                        </th>
                                        <th>
                                            工号
                                        </th>
                                        <th>
                                            姓名
                                        </th>
                                        <th>
                                            迟到
                                        </th>
                                        <th>
                                            早退
                                        </th>
                                        <th>
                                            旷课
                                        </th>
                                        <th>
                                            旷工
                                        </th>
                                        <th>
                                            病假
                                        </th>
                                        <th>
                                            事假
                                        </th>
                                        <th>
                                            其它违规扣点
                                        </th>
                                        <th>
                                            描述
                                        </th>
                                    </tr>
                                </HeaderTemplate>
                            <ItemTemplate>
                            <tr >
                                <td style="text-align:left">
                                    <%# DataBinder.Eval(Container.DataItem, "PostName")%>
                                </td>
                                <td style="text-align:left">
                                    <%# DataBinder.Eval(Container.DataItem, "TeachCode")%>
                                </td>
                                <td style="text-align:left">
                                    <%# DataBinder.Eval(Container.DataItem, "TeachName")%>
                                </td>
                                <td style="text-align:right">
                                    <%# DataBinder.Eval(Container.DataItem, "Late")%>
                                </td>
                                <td style="text-align:right">
                                    <%# DataBinder.Eval(Container.DataItem, "Early")%>
                                </td>
                                <td style="text-align:right">
                                    <%# DataBinder.Eval(Container.DataItem, "Truant")%>
                                </td>
                                <td style="text-align:right">
                                    <%# DataBinder.Eval(Container.DataItem, "Absenteeism")%>
                                </td>
                                <td style="text-align:right">
                                    <%# DataBinder.Eval(Container.DataItem, "Sick")%>
                                </td>
                                <td style="text-align:right">
                                    <%# DataBinder.Eval(Container.DataItem, "Leave")%>
                                </td>
                                <td style="text-align:right">
                                    <%# DataBinder.Eval(Container.DataItem, "Other")%>
                                </td>
                                <td style="text-align:left">
                                    <%# DataBinder.Eval(Container.DataItem, "OtherContect")%>
                                </td>
                            </tr>
                            </ItemTemplate>
                            <FooterTemplate>
                                </table>
                            </FooterTemplate>
                            </asp:Repeater>
                    <div class="page" style="width:60%;margin-top:10px">
                    <span ><input id="lbnTop" type="button" value="首页" class="commonBut" onclick="TopClick()" /></span>
                    <span ><input id="lbnUp" type="button" value="上一页" class="commonBut" onclick="UpClick()" /></span>
                    <span ><input id="lbnNext" type="button" value="下一页" class="commonBut" onclick="NextClick()" /></span>
                    <span ><input id="lbnEnd" type="button" value="末页" class="commonBut" onclick="EndClick()" /></span>
                    <span class="disabled"><asp:Label ID="lbl_L_Di" runat="server" Text="第"></asp:Label> <asp:Label ID="lbl_ToPage" runat="server" Text="0"></asp:Label> / <asp:Label ID="lbl_PageCount" runat="server" Text="0"></asp:Label> <asp:Label ID="lbl_L_Yie" runat="server" Text="页"></asp:Label></span>
                    <span ><asp:Label ID="lbl_L_TD" runat="server" Text="跳到"></asp:Label><span class="shoppingnumber">
                                        <asp:TextBox ID="txt_Go" CssClass="logininput" Text="" runat="server" Width="50px"></asp:TextBox>
                                        <asp:regularexpressionvalidator id="REV_Go" runat="server" ErrorMessage="RegularExpressionValidator" Display="Dynamic"
					                        ControlToValidate="txt_Go" ValidationExpression="^[1-9]\d*$">*</asp:regularexpressionvalidator>
                                        </span><asp:Label ID="lbl_L_Yie2" runat="server" Text="页"></asp:Label></span>
                    <span ><input id="lbnGo" type="button" value="跳转" class="commonBut" onclick="GoClick()" /></span>
                    </div>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="btnBind"  EventName="Click" />
                    </Triggers>

                </asp:UpdatePanel>

                </td>
            </tr>
        </table>

            <div style="display: none;">
                <asp:Button ID="btnBind" runat="server" OnClick="btnBind_Click" Text="btnBind" />
            </div>
                
            </div>
        </div>
    </form>
</body>
</html>
